﻿<%@ Page Language="c#" CodeBehind="FamilyRelationship.aspx.cs" MasterPageFile="~/App_MasterPages/layout.Master"
    AutoEventWireup="false" Inherits="ud_gSDMS.Member.FamilyRelationShip" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register TagPrefix="uc1" TagName="PostList" Src="~/gSDMSModule/UpdateData/LeftMenuItem.ascx" %>
<%@ Register src="~/gSDMSModule/UpdateData/TopSearchItem.ascx" tagname="TopSearchItem" tagprefix="uc2" %>
<asp:Content ContentPlaceHolderID="leftContent" ID="MPLeftPane" runat="server" />
<asp:Content ContentPlaceHolderID="mainContent" ID="MPContent" runat="server">


<portal:mojoPanel ID="mp1" runat="server" ArtisteerCssClass="art-Post" RenderArtisteerBlockContentDivs="true">
    <mp:CornerRounderTop id="ctop1" runat="server" />
    <asp:Panel ID="pnlStoreManager" runat="server" CssClass="art-Post-inner panelwrapper gSDMS">
            <portal:ModuleTitleControlCustom ID="moduleTitle" runat="server" RenderArtisteer="true" UseLowerCaseArtisteerClasses="true"/>
        <portal:mojoPanel ID="MojoPanel1" runat="server" ArtisteerCssClass="art-PostContent">
        <div class=""><uc2:TopSearchItem ID="TopSearchItem1" runat="server" /></div>
        <div class="leftmenucontent">
            <uc1:PostList ID="leftMenuItem" runat="server" />
        </div>
        <div class="modulecontent">
            <fieldset>
<%--            <asp:UpdatePanel ID='updatePanel' runat="server" >
                <ContentTemplate>--%>
                    
                
                 <%--<mp:SiteLabel ID="lblInfo" CssClass="title info" runat="server" ResourceFile="gSDMSResource" ConfigKey="gSDMSHostingPackage" />--%>
                <div class="div_title">
                    <a href="/gsdmsmodule/UpdateData/UpdateMember_Full.aspx?pageid=16">Thành viên</a>
                    &nbsp;>&nbsp;
                    <a href="">Quan hệ gia đình</a>
                </div>
                

                <br /><br />

                <div class="div_Edit">
                <div class="scroll">
                    <table cellpadding='5' cellspacing='0' border='0' width='auto' class="tb_edit">
                         <tr >
                            <td colspan="4">
                                <table>
                                    <tr class="div_title_parent">
                                        <td class="div_title div_title_group">QUAN HỆ GIA ĐÌNH :</td>
                                    </tr>
                                </table>
                            </td>
                        </tr>

                        <tr>
                            <td class="title">
                                <asp:GridView runat="server" ID="gvChildInfo" AutoGenerateColumns="False" CssClass="gvData"
                                RowStyle-CssClass="rowstyle" 
                                    AlternatingRowStyle-CssClass="AlternatingRowStyle" 
                                    onrowcancelingedit="gvChildInfo_RowCancelingEdit" 
                                    onrowediting="gvChildInfo_RowEditing" 
                                    onrowupdating="gvChildInfo_RowUpdating" EnableModelValidation="True" 
                                    onrowdeleting="gvChildInfo_RowDeleting" EmptyDataText="Khong co du lieu">

                                    <Columns>
                                     <asp:TemplateField HeaderText="Quan hệ" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrQuanHe" runat="server" Text='<%# Eval("QuanHe") %>'/>
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt1" runat="server" Text='<%# Eval("QuanHe") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Họ và tên" ItemStyle-CssClass="gvItem ta_left" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrHoTen" runat="server" Text='<%# Eval("HoTen") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt2" runat="server" Text='<%# Eval("HoTen") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Ngày sinh" ItemStyle-CssClass="gvItem ta_cen" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrNgaySinh" runat="server" Text='<%# Eval("NgaySinh") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt3" runat="server" Text='<%# Eval("NgaySinh") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:TemplateField HeaderText="Hiện nay làm gì, ở đâu (ghi địa chỉ nơi cư trú)" ItemStyle-CssClass="gvItem ta_left" HeaderStyle-CssClass="gvHeader">
                                            <ItemTemplate>
                                                <asp:Literal ID="ltrLamO" runat="server" Text='<%# Eval("LamO") %>' />
                                            </ItemTemplate>
                                            <EditItemTemplate>
                                                <asp:TextBox ID="txt4" runat="server" Text='<%# Eval("LamO") %>' 
                                                    Visible="True"></asp:TextBox>
                                            </EditItemTemplate>
                                     </asp:TemplateField>
                                     <asp:CommandField HeaderStyle-CssClass="gvHeader" HeaderText="Chức năng" 
                                            ItemStyle-CssClass="gvItem ta_left" ShowEditButton="True" ShowDeleteButton="True">
                                                
                                            <HeaderStyle CssClass="gvHeader" />
                                            <ItemStyle CssClass="gvItem ta_cen div_chucnang" />
                                        </asp:CommandField>
                                </Columns>
                                </asp:GridView>
                            </td>
                        </tr>
                        <tr><td></td></tr>
                        <tr>
                            <td> <asp:Button  CssClass="btn btn_insert" ID="BtnInsert" Text="Thêm " CommandName="Btn_Insert" runat="server" CommandArgument='<%# Eval("ThangNam") %>' /></td>
                        </tr>
                    </table>
                    </div>
                </div>

<%--                </ContentTemplate>
            </asp:UpdatePanel>--%>
                
            </fieldset>
        </div>
        </portal:mojoPanel>
        <div class="cleared"></div>
    </asp:Panel>
    <mp:CornerRounderBottom id="cbottom1" runat="server" />
    </portal:mojoPanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="rightContent" ID="MPRightPane" runat="server" />
<asp:Content ContentPlaceHolderID="pageEditContent" ID="MPPageEdit" runat="server" />
